package com.antoco.operation.bigscreen.model.entity;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 水位监测
 */
@Entity
@Getter
@Setter
@ToString
@Table(name = "suiwei_watch")
public class SuiweiWatch implements AbstractEntity<Long>, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 区域标识
     */
    @Column(name = "area_id")
    private String areaId;

    /**
     * 区域名称
     */
    @Column(name = "area_name")
    private String areaName;

    /**
     * 水位值
     */
    @Column(name = "suiwei_val")
    private String suiweiVal;

    /**
     * 水位监测异常定义-正常区间
     */
    @Column(name = "normal_vals")
    private String normalVals;

    /**
     * 水位监测异常定义-预警区间
     */
    @Column(name = "alarm_vals")
    private String alarmVals;

    /**
     * 水位监测异常定义-报警区间
     */
    @Column(name = "warn_vals")
    private String warnVals;

}
